package com.langsin.Set;
/**
@Auther: MFM
@Date: 2021/8/26 - 08 - 26 - 22:02 
@version: 1.0
*/

public class BTSet<E extends Comparable<E>> implements Set<E>{

    private BTSet<E> bst;

    public BTSet(){
        bst =  new BTSet<>();
    }


    @Override
    public void add(E e) {
        bst.add(e);
    }

    @Override
    public void remove(E e) {
        bst.remove(e);
    }

    @Override
    public boolean contains(E e) {
        return bst.contains(e);
    }

    @Override
    public int getSize() {
        return bst.getSize();
    }

    @Override
    public boolean isEmpty() {
        return bst.isEmpty();
    }
}
